<script type="text/html" template lay-done="layui.data.sendParams(d.params)">
  <div class="layui-form" lay-filter="form_resale">
    <div class="layui-form-item">
      <label class="layui-form-label">持有数量</label>
      <div class="layui-input-inline">
        <input type="hidden" name="mobile" value="{{d.params.mobile || ''}}">
        <input type="hidden" name="contract_address" value="{{d.params.contract_address || ''}}">
        <div class="layui-form-mid layui-word-aux">{{d.params.hold_count}}</div>
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">转售数量</label>
      <div class="layui-input-inline" style="width: 100px">
        <input type="number" name="quantity" value="" lay-verify="required" autocomplete="off"
               class="layui-input">
      </div>
      <div class="layui-inline layui-form-mid layui-word-aux">
        最大转售数量为50
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">转售价格</label>
      <div class="layui-input-inline" style="width: 100px">
        <input type="number" name="price" value="" lay-verify="required" autocomplete="off"
               class="layui-input">
      </div>
    </div>
    <div class="layui-form-item">
      <div class="layui-footer">
        <label class="layui-form-label"></label>
        <div class="layui-input-inline">
          <input type="button" id="submit_resale" lay-submit lay-filter="submit_resale" value="确认" class="layui-btn">
        </div>
      </div>
    </div>
  </div>
</script>
<script>
  layui.data.sendParams = function (obj) {
  }
</script>
